const path = require('path')
module.exports = {
    assetsDir: 'static',
    productionSourceMap: process.env.NODE_ENV === 'production' ? false : true,
    devServer: {
        // open: process.platform === 'darwin',
        host: 'localhost',
        port: 9099,
        https: false,
        hotOnly: false,
        proxy: null, // 设置代理
    },
    configureWebpack: {
        output: {
            sourcePrefix: ' '
        },
        amd: {
            toUrlUndefined: true
        },
        resolve: {
            alias: {
                'vue$': 'vue/dist/vue.esm.js',
                '@': path.resolve('src')
            }
        }
    }
}



